package net.hn.hnms.biz.cockpit.domain;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.persistence.Table;

@Data
@NoArgsConstructor
@ExcelIgnoreUnannotated
@EqualsAndHashCode(callSuper=false)
@Table(name = "year_risk", schema = "cockpit", catalog = "huaneng-cockpit")
@ApiModel(value = "年风险管控")
public class YearRisk {

    @ApiModelProperty(value = "id")
    @TableField(value = "id", fill = FieldFill.INSERT)
    private String id;

    @ApiModelProperty(value = "指标日期(YYYY)")
    private String checkPeriod;

    @ApiModelProperty(value = "风险类型")
    private String riskType;

    @ApiModelProperty(value = "风险总数")
    private String riskCount;

    @ApiModelProperty(value = "矿编码")
    private String mineCode;

}
